package edu.dlnu.newbootdemo.dao;

import edu.dlnu.newbootdemo.pojo.Teacher;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface TeacherMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Teacher record);

    int insertSelective(Teacher record);
    List<Teacher> selectByName(String name);
    Teacher selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Teacher record);
    int updateByPrimaryKeyWithBLOBs(Teacher record);
    int updateByPrimaryKey(Teacher record);
}